package com.gt.queue;

import com.gt.common.QueueConstant;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * rabbitMq 配置类
 */
@Configuration
public class RbConfig {
    @Bean
    public Queue debugQueue(){
        return new Queue(QueueConstant.DEBUG_QUEUE, true);
    }
}
